package com.usoft6;

import akka.actor.ActorSystem;
import scala.concurrent.ExecutionContext;

/**
 * Created by liyanxin on 2015/1/13.
 */
public class LookingDispatcher {

    public static void main(String args[]) {
        ActorSystem system = ActorSystem.create("myActorSystem");
        final ExecutionContext ex = system.dispatchers().lookup("my-dispatcher");
        System.out.println(ex.hashCode());
    }
}
